package 蓝桥.模拟赛;

import java.util.Scanner;
public class Main6 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int n = in.nextInt();
        int r = 2024/n;
        if(r*n<2024)
            r++;
        System.out.println(r);

    }
}
